package com.ruoyi.framework.security.token;

import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;

/**
 * @Description : 前台用户
 * @Author : wzkris
 * @Version : V1.0.0
 * @Date : 2022/11/28 14:19
 */
public class UserAuthenticationToken extends UsernamePasswordAuthenticationToken {
    /**
     * 该方法只是用来选择对应的provider处理器
     * 选用父类 UsernamePasswordAuthenticationToken 中带3个参数的构造方法， isAuthenticated() = true
     */
    public UserAuthenticationToken(Object principal, Object credentials) {
        super(principal, credentials,null);
    }

}